/* ==========================================================================
   ASSINATURA J&F - COMPONENTE MODULAR DE RODAPÉ
   Adaptado rigorosamente à paleta oficial PCCI Academy (Grafite e Vermelho #F60001)
   ========================================================================== */

:root {
  /* Cores do Card adaptadas ao tema PCCI Academy */
  --jf-bg: rgba(9, 23, 25, 0.92);              /* Grafite escuro técnico com glassmorphism */
  --jf-border: rgba(255, 255, 255, 0.12);       /* Borda sutil técnica */
  --jf-border-hover: rgba(246, 0, 1, 0.7);      /* Vermelho institucional no hover */
  --jf-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  
  /* Tipografia */
  --jf-title-color: #ffffff;
  --jf-subtitle-color: #9da3a4;
  
  /* Botão de Contato (CTA) em Vermelho PCCI */
  --jf-btn-bg: linear-gradient(135deg, #F60001 0%, #c40001 100%);
  --jf-btn-color: #ffffff;
  --jf-btn-hover-bg: linear-gradient(135deg, #ff2626 0%, #F60001 100%);
  --jf-btn-glow: 0 4px 20px rgba(246, 0, 1, 0.45);
  
  /* Geometria */
  --jf-radius: 20px;
  --jf-btn-radius: 50px;
}

/* Container de Centralização */
.jf-signature-container {
  width: 100%;
  max-width: 1080px;
  margin: 30px auto 25px;
  padding: 0 15px;
  box-sizing: border-box;
}

/* Card Principal da Assinatura */
.jf-signature-card {
  background: var(--jf-bg);
  border: 1px solid var(--jf-border);
  border-radius: var(--jf-radius);
  padding: 16px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  box-shadow: var(--jf-shadow);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.jf-signature-card:hover {
  border-color: var(--jf-border-hover);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(246, 0, 1, 0.2);
  transform: translateY(-2px);
}

/* Logo J&F com tamanho ampliado */
.jf-signature-left {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.jf-signature-logo {
  height: 60px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.22));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.jf-signature-card:hover .jf-signature-logo {
  transform: scale(1.05);
  filter: drop-shadow(0 0 16px rgba(255, 255, 255, 0.35));
}

/* Textos Centrais */
.jf-signature-center {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}

.jf-signature-title {
  font-family: 'Sora', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--jf-title-color);
  margin: 0;
  line-height: 1.25;
  letter-spacing: -0.3px;
}

.jf-signature-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--jf-subtitle-color);
  margin: 0;
  line-height: 1.4;
}

/* Botão de Contato à Direita */
.jf-signature-right {
  flex-shrink: 0;
}

.jf-signature-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--jf-btn-bg);
  color: var(--jf-btn-color) !important;
  font-family: 'Sora', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 12px 26px;
  border-radius: var(--jf-btn-radius);
  text-decoration: none !important;
  box-shadow: var(--jf-btn-glow);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.jf-signature-btn:hover {
  background: var(--jf-btn-hover-bg);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 30px rgba(246, 0, 1, 0.55);
}

.jf-signature-btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s ease;
}

.jf-signature-btn:hover svg {
  transform: scale(1.15);
}

/* Responsividade */
@media (max-width: 860px) {
  .jf-signature-card {
    flex-direction: column;
    text-align: center;
    padding: 24px 20px;
    gap: 18px;
  }
  
  .jf-signature-center {
    text-align: center;
  }
  
  .jf-signature-logo {
    height: 52px;
  }
  
  .jf-signature-title {
    font-size: 1.15rem;
  }
  
  .jf-signature-subtitle {
    font-size: 0.85rem;
  }
  
  .jf-signature-btn {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    font-size: 0.95rem;
  }
}
